package vn.vfriends.payment.service;

import java.util.Date;
import java.util.List;
import vn.vfriends.payment.jpa.entity.Account;
import vn.vfriends.payment.jpa.entity.Transaction;

/**
 *
 * @author tuancn
 */
public interface AccountService {

    public Account generateCIF(Long userId, Long initAmount) throws Exception;

    public Account resetAccount(Long userId, Long initAmount) throws Exception;

    public Account findAccountByCif(String cif);

    public List<Transaction> getTransactions(String cif, String type, Date fromDate, Date toDate) throws Exception;
    
}
